package com.demo.studentmanager.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author LinQiSen
 */
@Data
@Accessors(chain = true)
public class ScoreUpdDto {
    @ApiModelProperty
    @NotNull(message = "不能为空")
    private Integer id;

    @ApiModelProperty(value = "成绩")
    private Double degree;


}
